﻿<%@ Page Language="C#" AutoEventWireup="true" Codebehind="ProjectCoursePreview.aspx.cs"
    Inherits="LabMS.Web.ClassPlan.ProjectCoursePreview" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>课程数据查看</title>
    <link type="text/css" rel="stylesheet" href="../style/screen.css" />
    <!--[if lte IE 6]>
    <link type="text/css" rel="stylesheet" href="../style/ie6.css" />
    <![endif]-->
    <!--[if lte IE 7]>
    <link type="text/css" rel="stylesheet" href="../style/ie7.css" />
    <![endif]-->
</head>
<body class="mainBody">
    <form id="form1" runat="server">
    
        <div class="main">
            <div id="pageInfo" class="clearfix">
                <div class="title">
                    <label>
                        <a href="ProjectCourseList.aspx">课程与项目</a></label>&gt;查看课程项目数据
                </div>
            </div>
        </div>
        <div class="main">
            <p>
                <input type="button" class="button" value="修改课程数据" onclick="javascript:window.location.href='ProjectCourseEdit.aspx?ID='+document.getElementById('tbID').value;" />
                <input type="button" class="button" id="Cancel" name="Cancel" value="返回" onclick="javascript:window.location.href='ProjectCourseList.aspx'" />
            </p>
        </div>
        <div class="main">    
            <table cellpadding="2" cellspacing="0" border="0">
                <tr>
                    <td><label class="itemTitle">
                        课程名称:</label></td>
                    <td>
                        <asp:Label ID="lb_CourseCode" runat="server" /></td>
                </tr>
                <tr>
                    <td><label class="itemTitle">
                        课程名词:</label></td>
                    <td>
                        <asp:Label ID="lb_CourseName" runat="server" /></td>
                </tr>
                <tr>
                    <td><label class="itemTitle">
                        课程英文名称:</label></td>
                    <td>
                        <asp:Label ID="lb_EnglishName" runat="server" /></td>
                </tr>
                <tr>
                    <td><label class="itemTitle">
                        课程属性:</label></td>
                    <td>
                        <asp:Label ID="lb_CourseType" runat="server" /></td>
                </tr>
                
            </table>
        </div>
        <div class="main">
        
        <p>
            <label class="itemTitle">
                        项目数据:</label>
                 
        </p>
            <asp:GridView ID="gvProjectList" runat="server" AutoGenerateColumns="false" CssClass="infoTable" Width="50%">
                                <Columns>
                                    <asp:BoundField DataField="Project_Code" HeaderText="项目编码" />
                                    <asp:BoundField DataField="Project_Name" HeaderText="项目名称" />
                                    <asp:BoundField DataField="Type" HeaderText="项目类型" />
                                    <asp:BoundField DataField="Lab_Name" HeaderText="实验室" />
                                </Columns>
                                <EmptyDataTemplate>
                                    暂时没有与课程相对的项目
                                </EmptyDataTemplate>
                                <HeaderStyle CssClass="header" />
                            </asp:GridView>
            <input id="tbID" style="display: none" type="text" runat="server" />
        </div>
    </form>
</body>
</html>
